//
//  ConfigModel.m
//  Lmm_IOS
//
//  Created by 张哲炜 on 2018/9/15.
//  Copyright © 2018年 lmm. All rights reserved.
//

#import "ConfigModel.h"

@implementation ConfigModel

-(void)encodeWithCoder:(NSCoder *)aCoder{
    [aCoder encodeObject:self.order_list_tip forKey:@"order_list_tip"];
    [aCoder encodeObject:self.point_cash_tip forKey:@"point_cash_tip"];
    [aCoder encodeObject:self.point_cash_limit forKey:@"point_cash_limit"];
    [aCoder encodeObject:self.order_confirm_tip forKey:@"order_confirm_tip"];
    [aCoder encodeInt:self.point_cash_switch forKey:@"point_cash_switch"];
 }

- (nullable instancetype)initWithCoder:(nonnull NSCoder *)aDecoder {
    if(self =[super init]){
        self.order_list_tip =[aDecoder decodeObjectForKey:@"order_list_tip"];
        self.point_cash_tip =[aDecoder decodeObjectForKey:@"point_cash_tip"];
        self.point_cash_limit =[aDecoder decodeObjectForKey:@"point_cash_limit"];
        self.order_confirm_tip =[aDecoder decodeObjectForKey:@"order_confirm_tip"];
        self.point_cash_switch=[aDecoder decodeIntForKey:@"point_cash_switch"];
    }
    return self;
 }
@end
